//
//  HomeSmallVideoController.h
//  OnionHome
//
//  Created by fengjie on 2019/9/18.
//  Copyright © 2019 FengJie. All rights reserved.
//小视频

#import "BasseViewController.h"
#import "PlayModel.h"

@class HomeSmallVideoCell;

NS_ASSUME_NONNULL_BEGIN

@interface HomeSmallVideoController : BasseViewController
/**类型*/
@property (nonatomic,assign)TopicType type;

@end

@protocol CLCollectionViewCellDelegate <NSObject>

- (void)cl_tableViewCellPlayVideoWithCell:(HomeSmallVideoCell *)cell;

@end


typedef void(^tapPlayBtn)(void);

@interface HomeSmallVideoCell : UICollectionViewCell
/***/
@property (nonatomic,strong)UIView*playerBgView;

/**model*/
@property (nonatomic,strong)PlayModel*model;
@property (nonatomic, weak) id <CLCollectionViewCellDelegate> delegate;
@property(nonatomic,assign)BOOL stopPlay;
/**<#属性#>*/
@property (nonatomic,copy)tapPlayBtn tapBlock;
@end

NS_ASSUME_NONNULL_END
